# Docker image for springboot file run
# VERSION 0.0.1
# Author: eangulee
# 基础镜像使用java
FROM openjdk:17-alpine

WORKDIR /app
# 将jar包添加到容器中并更名为app.jar
COPY  hair-0.0.1-SNAPSHOT.jar   /app 

EXPOSE  8080
# 运行jar包
#RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-jar","hair-0.0.1-SNAPSHOT.jar"]
